#include <REGX52.H>
#include "nixie.h"
#include "key.h"
#include "buzzer.h"

unsigned char keyNumber;

void main()
{
	nixieTube(1, 0);
	while(1)
	{
		keyNumber = getKeyNumber();
		if(keyNumber)
		{
			Buzzer_sound(100);
			nixieTube(1, keyNumber);
		}
	}
}
